/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-09-19     wbj       the first version
 */
#ifndef APPLICATIONS_OLED_DATA_H_
#define APPLICATIONS_OLED_DATA_H_

#include <stdint.h>

/*中文字符字节宽度*/
#define OLED_CHN_CHAR_WIDTH         3       //UTF-8编码格式给3，GB2312编码格式给2

/*字模基本单元*/
typedef struct
{
    char Index[OLED_CHN_CHAR_WIDTH + 1];    //汉字索引
    uint8_t Data[32];                       //字模数据
} ChineseCell_t;

/*ASCII字模数据声明*/
extern const uint8_t OLED_F8x16[][16];
extern const uint8_t OLED_F6x8[][6];

/*汉字字模数据声明*/
extern const ChineseCell_t OLED_CF16x16[];

/*图像数据声明*/
extern const uint8_t Diode[];
extern const uint8_t weiqv[];
extern const uint8_t kaixing[];
extern const uint8_t buman[];
/*按照上面的格式，在这个位置加入新的图像数据声明*/
//...
#endif /* APPLICATIONS_OLED_DATA_H_ */
